SaveFileDialog and CommonDialog1.InitialDirectory = "http://sharepoint/somefolder"
I have been trying to get the SaveFileDialog (using VB and VS 2005) to default to a specific SharePoint directory by using:
Dim CommonDialog1 As New Windows.Forms.SaveFileDialog()
CommonDialog1.InitialDirectory = "http://sharepoint/somefolder"
CommonDialog1.ShowDialog()
However, I keep getting an error saying that "You can't open this location using this program. Please try a different location."
When I put theaddress in the path at the top of the dialog it seems to have no problem.
Can someone please point me in the right direction on how I should be setting up this dialog?
Thanks,
Natalie
January 10th, 2008 8:03pm
Hi Natalie,
i have the same issue like you. Did you solve the problem?
Did you write a custom OpenFileDialog?
Thomas
Free Windows Admin Tool Kit Click here and download it now
February 1st, 2008 12:45am
I have the same problem. The only way around it that I have found is to use a WebDAV path instead, as in:
\\server\DavWWWRoot\site
July 11th, 2011 2:32pm


